package com.wejoy.video.middle.station.data.mapper.overtime;

import com.wejoy.video.middle.station.data.domain.overtime.OvertimePoint;

import java.util.List;

/**
 * 加班点位
 *
 * @author miracle_j
 * @date 2024年04月22日 15:25:48
 */
public interface IOvertimePointMapper {

    /**
     * 插入
     *
     * @param overtimePoint overtimePoint
     * @return int
     */
    int insertSelective(OvertimePoint overtimePoint);

    /**
     * 更新
     *
     * @param setParam   setParam
     * @param whereParam whereParam
     * @return int
     */
    int updateSelective(OvertimePoint setParam, OvertimePoint whereParam);

    /**
     * 数量
     *
     * @param overtimePoint overtimePoint
     * @return int
     */
    int getCount(OvertimePoint overtimePoint);

    /**
     * 单条
     *
     * @param overtimePoint overtimePoint
     * @return OvertimePoint
     */
    OvertimePoint getOne(OvertimePoint overtimePoint);

    /**
     * 多条
     *
     * @param overtimePoint overtimePoint
     * @return List<OvertimePoint>
     */
    List<OvertimePoint> getList(OvertimePoint overtimePoint);

    /**
     * 分页
     *
     * @param overtimePoint overtimePoint
     * @return List<OvertimePoint>
     */
    List<OvertimePoint> getPageList(OvertimePoint overtimePoint);

}